body.nav-fixed{
  margin-top:80px;
  font-size: 1.5rem;
  line-height: 3.2rem;
  color:#777;
}
.nav-fixed .img-responsive{
  margin:auto;
}
a{
  outline: none !important;
}
html {
  scroll-behavior: smooth;
}
.rdsfound-products figure img{
  display:block;
  max-height:80px;
  max-width:220px;
}
.promo-color{
  color:#FF942E;
  border-color:#FF942E;
}

.promo-color-red{
  color: #FF2700;
}
a#konkurs{
  text-transform: uppercase;
  /* color: #FF942E; */
  color: #fff;
  font-weight: bold;
  /* box-shadow: 5px 5px 15px #333; */
  /* box-shadow: 5px 5px 15px #FF942E; */
  font-size:1.4rem;
  /* line-height: 1rem; */
  display: block;
  /* border: 2px solid #FF942E; */
  /* border-radius: 5px; */
  width: 130px;
  height:122px;
  padding: 8px 0px;
  position: absolute;
  top: 120px;
  right: 30px;
  background-size: cover;
  /* background-attachment: fixed; */
  background-repeat: no-repeat;
  /* background-color: rgba(241, 90, 34, 0.4); */
  background-color: transparent;
 background-image: url('../img/uploads/corona-xs.png');
}

.navbar-brand > .img-brand {
  max-height: 50px;
}
.dual-brand{
  height:80px;
  max-height:80px;
}
.nav-fixed ul.navbar-main{
  padding-top:15px;
  font-size: 1.3rem;
}
.main-header{text-align:center;}
.main-section{

  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #fff;
  /*padding-top:100px;*/
}

.main-section > header{
  margin-left: -15px;
  margin-right: -15px;
  background-color: rgba(0,0,0,0.4);
}
#section_bridge, #section_medicine{
  background-image: url('../img/uploads/rdsfund-w-co-inwestujemy.jpg');
}
#section_kryteria{
  background-image: url('../img/uploads/rdsfund-kryteria-inwestycji.jpg');
}
#section_partners{
  background-image: url('../img/uploads/rdsfund-nasipartnerzy.jpg');
}
#section_covid{
  background-image: url('../img/uploads/covid_red.jpg');
}

h1.main-section-header{
  font-size: 6rem;
  line-height: 22rem;
  text-align: center;
  color: #f6f6f6;
  /*background-image: radial-gradient(rgba(0,0,0,0.4) , rgba(0,0,0,0.1));*/
}
.page-header > h2{
  font-size:2.6rem;
  margin-bottom:2px;
}

.page-header > h3{
  font-size:2.3rem;
  margin-bottom:2px;
}


article.content{
  /*padding: 20px 15px;*/
  background-color:#fff;
}
/*div.rdsfound-products .aaa{max-height:225px; overflow: hidden;margin:5px auto;}*/
.section-separator{
  background: #f3f3f3;
  padding: 30px 15px;
}
.rdsfound-products{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}
.rdsfound-products-header{
  justify-content: center;
  align-items: center;
}

.rdsfound-products .product-item{
  padding: 15px;
}

.rdsfound-products .product-item .product-item-header > h4{
  line-height: 2.8rem;
  font-size:2.3rem;
}
.rdsfound-products .product-item .product-item-header > h4,
.rdsfound-products .product-item > h3,
.page-header h4{
  color: #444; 
}
/*.product-item-header{display:block; float:left;border-bottom:1px solid #616161;}*/
.rdsfound-products .product-item .product-item-content {
  font-size: 1.5rem;
  line-height: 2.8rem;
  padding: 5px;
}

.rdsfound-products .product-item .img-product{
  display: block;
  width: 100%;
  height: 100%;
}

ul.ul-detail li > h5{
  /*font-weight:bold;*/
  color: #444;
}

.product-item > .product-item-header, 
.product-item > .product-item-content{
  float: left; display: block;
}

.team{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}
#team_content{
  background-color: #eee;
}
#team_content .page-header{
  border-bottom-color: #fff;
}
.team_item{
  margin-bottom:15px;
  /*  margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid black;*/
}
.team_item-header{
  /*  display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    margin-bottom:10px;*/
  margin-bottom:15px;
  padding:5px;
}
.team_item-header-position{
  font-size: 1rem; 
  color:#ff2a68;
  font-style: italic;
}
.team_item-content{
  margin-top:10px;
  /*margin-left:-15px;*/
  /*margin-right: -15px;*/
}
.team_item-footer{}

#footer{
  padding: 50px 15px;
}
#footer-contact{
  text-align: center;
  margin: 15px 0;
  border: 1px solid #aaa;
  border-width: 0 0 1px 0;
}
#footer-info{
  margin: 30px;
}
#footer-info > div {
  padding:20px 30px;
  font-size: 1.2rem;
  margin: 10px 0;
}
#footer-info > div:last-child{
  border: 1px solid #aaa;
  border-width: 0 0 0 1px;
}
#footer-nav{
  border: 1px solid #aaa;
  border-width: 1px 0;
  margin: 0 -15px 30px -15px;
  text-align: center;
}
#footer-nav ul{
  margin: 20px 0;
  padding:0;
  display: inline-block;
}
#footer-nav > ul > li{
  list-style: none;
  display: inline-block;
  text-align: center;
  padding:5px 10px;
}
#footer-nav > ul > li > a{
  color: #aaa;
  display: block;
  font-size: 1rem;
}
.bold{font-weight: bold;}
.gray{color: #aaa;}
figcaption{line-height:1.42;}

@media screen and (max-width: 1024px) {
  a#konkurs{
  /* font-size:1.5rem; */
  /* line-height: 3rem; */
  /* display:block; */
  /* width: calc(100% - 30px) !important; */
}
  #menu-top{text-align:left;}
  h1.main-section-header{
    line-height: 1.42;
    font-size: 5rem;
  }
  .page-header > h2{
    font-size:2.1rem;
  }
  .rdsfound-products .product-item{
    padding: 15px 0 !important;
  }
  .rdsfound-products .product-item > h3{
    line-height: 1.43;
    font-size:2.1rem;
  }

  .rdsfound-products .product-item .product-item-header > h4{
    line-height: 1.43;
    font-size:1.9rem;
    margin-top:5px;
    margin-bottom: 5px;
  }
  .page-header{
    padding-bottom: 0 !important;
    margin: 30px 0 10px;
  }

  #footer-info{
    margin: 5px;
  }
  #footer-info > div {
    padding:inherit;
    font-size: 1.2rem;
    padding:15px 0;
  }
  #footer-info > div:last-child{
    border-width: 1px 0 0 0;
  }
}
@media screen and (max-width: 560px) {
	#footer-contact > span{
		display:block;
	}
	#footer-nav > ul > li > a{
		font-size: 1.3rem;
	}
	body.nav-fixed{
		font-size: 1.8rem !important;
	}
	.page-header > h2{
		font-size:2.4rem;
	}
}